Add a few missing include guards
authorMatthias Clasen <mclasen@redhat.com>
Wed, 1 Oct 2014 04:49:59 +0000 (00:49 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 1 Oct 2014 04:49:59 +0000 (00:49 -0400)
gtk/gtkapplicationwindow.h
gtk/gtkstack.h
gtk/gtkstackswitcher.h

index f0654b3bdc557a825883858ccd67f12bde757926..234283c6b4c9e84a884ec2ff55d903cc23be3cef 100644 (file)
 #ifndef __GTK_APPLICATION_WINDOW_H__
 #define __GTK_APPLICATION_WINDOW_H__
 
+#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#error "Only <gtk/gtk.h> can be included directly."
+#endif
+
 #include <gtk/gtkwindow.h>
 
 G_BEGIN_DECLS
index 3240ada482555883952303714a3f9ee1244415e8..1f4e7d7b2b8165e58a9ee31149ae32412acba483 100644 (file)
 #ifndef __GTK_STACK_H__
 #define __GTK_STACK_H__
 
+#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#error "Only <gtk/gtk.h> can be included directly."
+#endif
+
 #include <gtk/gtkcontainer.h>
 
 G_BEGIN_DECLS
index 093f85f0fbc440afcd47f54c8b1d2e272d7bfb0b..61f3158ea43936721aa12011f80c5f3fbae3b452 100644 (file)
 #ifndef __GTK_STACK_SWITCHER_H__
 #define __GTK_STACK_SWITCHER_H__
 
+#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#error "Only <gtk/gtk.h> can be included directly."
+#endif
+
 #include <gtk/gtkbox.h>
 #include <gtk/gtkstack.h>